<body style="font-family: 楷体">
 <include file="Public/head.html" /> 
  <form action="{:U('admin.php/app/add')}" method="post" class="form-horizontal" enctype="multipart/form-data">  
  <h1 style="text-align: center; font-weight: bolder;">添加APP</h1><br/>
    <div class="form-group">
      <label class="col-sm-2 control-label" for="zhr_appname">App名称</label>
      <div class="col-sm-5">
         <input type="text" name="zhr_appname" class="form-control" ></input>
        </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 control-label" for="zhr_developer">开发者姓名</label>
        <div class="col-sm-5">
           <input type="text" class="form-control" name="zhr_developer" required></input>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label" for="zhr_version">版本</label>
      <div class="col-sm-5">
            <input type="text" class="form-control" name="zhr_version"></input>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label" for="zhr_tech">使用技术</label>
        <div class="col-sm-5">
            <input type="text" class="form-control" name="zhr_tech"></input>
        </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 control-label" for="zhr_apptype">所属专题</label>
      <div class="col-sm-5">
        <select class="form-control" name="zhr_apptype">
          <volist name="list" id="vo">
             <option value="{$vo.zhr_tid}">{$vo.zhr_typename}</option>
          </volist>         
        </select>
      </div>
    </div>
    <div class="form-group">
        <label for="zhr_logo" class="col-sm-2 control-label">LOGO</label>
        <div class="col-sm-5">
            <input type="file" name="zhr_logo" class="form-control"></input>
        </div>
    </div>
    <div class="form-group">
        <label for="zhr_appintro" class="col-sm-2 control-label">详细介绍</label>
        <div class="col-sm-5">
            <textarea name="zhr_appintro" class="form-control" rows="3"></textarea>
        </div>
    </div>

    <div class="form-group"> 
        <div class="col-sm-offset-2 col-sm-5">
            <button type="submit" class="btn btn-default">确定</button>
            <button type="reset" class="btn btn-default">重置</button>
        </div>   
    </div>    
</form>
   <include file="Public/footer.html" />
</body>
</html>